package model

import (
	"gorm.io/driver/sqlite"
	"gorm.io/gorm"
)

var DB *gorm.DB

func init() {
	DB, _ = gorm.Open(sqlite.Open("api-demo.db"), &gorm.Config{})
	DB.AutoMigrate(&User{})
}
